<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<SubForum.ObjectModel.Posts.PostList<SubForum.ObjectModel.Posts.DiscussionPost>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	All Discussions
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div id="discussions">
<h5>Discussions</h5>
<% foreach (var post in Model) { %>    
<% Html.RenderPartial("PostPartialView", post); %>
<% } %>
</div>
 
<% Html.RenderPartial("PostMessage", new SubForum.ObjectModel.Posts.DiscussionPost());%>

</asp:Content>
